//
//  CCComCellViewModel.h
//  Activity
//
//  Created by its on 15/5/22.
//  Copyright (c) 2015年 coco. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <ReactiveCocoa/ReactiveCocoa.h>
#import "CCCommentModel.h"

/**
 *  评论cell对应viewmodel
 */
@interface CCComCellViewModel : NSObject

@property (nonatomic, strong) NSURL *head;
@property (nonatomic, strong) NSAttributedString *author;
@property (nonatomic, strong) NSAttributedString *upCount;
@property (nonatomic, assign) BOOL alreadyUp;
@property (nonatomic, strong) NSMutableAttributedString *content;
- (RACSignal *) upAction;
- (RACSignal *) reply;
- (id) initWithComment:(CCComment *) comment commentBlock:(void(^)(NSString *id, NSString *name, NSString *author))block;
@end
